package kr.co.hanbit;

public class Mp3p {
	private String color;
	private int memory;
	static String maker;
	public Mp3p() {
		/*super();
		this.color = color;
		this.memory = memory;*/
	}
	public void memoryUp(int n){
		memory += n;
	}
	public void dispColor(){
		System.out.println(color);
	}
	public void setColor(String c){
		color = c;
	}
	public void dispMemory(){
		System.out.println(memory);
	}
	public static void main(String[] args) {
		Mp3p m3 = new Mp3p();
		Mp3p m4 = new Mp3p();
		Mp3p.maker = "I";
		m3.color = "red";
		m3.memory = 3;
		m4.color = "yellow";
		m4.memory = 2;
		System.out.println(Mp3p.maker);
		/*Sub1 sub1 = new Sub1();
		sub1.setNumber(1);
		sub1.dispNumber();
		System.out.println(m3.color);
		System.out.println(m3.memory);*/
	}
}
class Sub1{
	int number;

	public void setNumber(int n) {
		number = n;
	}
	public void dispNumber(){
		System.out.println(number);
	}
}
